// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.symbian 1.1

Dialog {
    id: root

    signal cancelar()

    title:  HeaderDialogs {
        texto: qsTr("_processando")
    }

    content: Item {
        width: parent.width; height: parent.height

        ProgressBar {
            width: parent.width * 0.8
            indeterminate: true
            anchors.centerIn: parent
        }
    }

    buttons: Button {
        text: qsTr("_cancelar")
        anchors.centerIn: parent
        onClicked: {
            root.cancelar();
            root.close();
        }
    }
}
